#parse("_header.html")
<!--<div id="content">
    ${postmessage}
    #if($isdefault==1)
        #foreach($item in $topposts)
        <div class="post">
            <h2 class="post-title">[置顶]<a href="${item.url}">${item.title}</a></h2>
        </div>
        #end
    #end
    #foreach($item in $posts)
    <div id="post-${item.postid}" class="post">
        <h2 class="post-title"><a href="${item.url}">${item.title}</a> </h2>
        <div class="post-meta">
            <span class="post-author">${item.author.link}</span>
            <span class="post-date">$item.createdate.tostring("yyyy-MM-dd")</span>
            <span class="post-category">${item.category.link}</span>
            <span class="post-view"><a href="${item.url}">浏览(${item.viewcount})</a></span>
            <span class="post-comment"><a href="${item.url}#comments">评论($item.commentcount)</a></span>
        </div>
        <div class="post-content">
            ${item.detail}
            <p>
                <a href="${item.url}">详情...</a>
            </p>
        </div>
    </div>
    #end
    #if($posts.count==0)
    <div class="post">
        <p>暂无文章</p>
    </div>
    #end
    ${pager}
</div>
#parse("_sidebar.html")-->

<div class="wrap">
    <div id="ad">
        <div class="container" id="View">
            <script type="text/javascript" src="${themepath}js/script.js"></script>
            <ul class="slider" id="idSlider">
                <li><a href='/Down/' title='点击详情'>
                    <img src="${themepath}images/b2.jpg" border='0' /></a></li>
                <li><a href='/Down/' title='点击详情'>
                    <img src="${themepath}images/b1.jpg" border='0' /></a></li>
                <li><a href='/Down/' title='点击详情'>
                    <img src="${themepath}images/b2.jpg" border='0' /></a></li>
                <li><a href='/Down/' title='点击详情'>
                    <img src="${themepath}images/b1.jpg" border='0' /></a></li>
            </ul>
        </div>
        <ul id="idNum">
            <li>1</li>
            <li>2</li>
            <li>3</li>
            <li>4</li>
        </ul>
        #foreach($item in $recommendposts)
        <div id="announ"><a href='${item.url}'>${item.title}</a>&nbsp;&nbsp;&nbsp;${item.updatedate.tostring("yyyy年MM月dd日")}</div>
        #end
    </div>
    <div id="news" class="bg">
        <div class="tbg">
            <div class="fbg">
                #set($i=1)
                #foreach($item in $categories)
                #if(${item.count}>0)
                <div class="news #if($i%3==0)s#end">
                    <h2><a href="${item.url}" title="${item.description}">${item.name}</a></h2>
                    <ul>
                        #foreach($post in $posts)
                        #if(${post.category.categoryid}==${item.categoryid})
                        <li><a href="${post.url}">${post.title}</a></li>
                        #end
                        #end
                    </ul>
                </div>
                #set($i=$i+1)
                #end
                #end
                <div class="clear"></div>
            </div>
        </div>
    </div>
    <!--<div id="product" class="bg">
        <div class="tbg">
            <div class="fbg">
                <div class="product">
                    <dl class="s1">
                        <dt><a href="page.html">支持淘宝/拍拍/有啊</a><span id="whitefont"></span></dt>
                        <dd>只需购买一款速度达自动充值系统，立即享受多达三种电子商务平台的服务，绝对超值！</dd>
                    </dl>
                </div>
                <div class="product">
                    <dl class="s2">
                        <dt><a href="page.html">支持无限卡密生成</a><span id="Span1"></span></dt>
                        <dd>生成QQ业务和手机卡密。在自动充值软件类，速度达是第一个支持无限卡密生成的软件！</dd>
                    </dl>
                </div>
                <div class="product s">
                    <dl class="s3">
                        <dt><a href="page.html">首创/独家短信通知</a></dt>
                        <dd>当出现交易失败的情况，系统将自动向你的手机发送短信，让你实时掌握订单动态！</dd>
                    </dl>
                </div>
                <div class="clear"></div>
            </div>
        </div>
    </div>-->
</div>

#parse("_footer.html")